
package com.greenantmall.version;

import com.greenantmall.bean.VersionInfo;
import com.greenantmall.service.RetrieveDataAsyn;

/**
 * 网络操作类
 */
public class HttpRequestUtil
{

    /**
     * 获取远程数据
     * @param url
     * @param paramMap
     * @return
     */

    public static VersionInfo getSourceResult()
    {
        VersionInfo versionEntry = RetrieveDataAsyn.getInstance().checkUpdate();
        return versionEntry;
    }
}
